@mixin ellipsis($lines, $color: #999){
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  color: $color;
  -webkit-line-clamp: $lines;
  -webkit-box-orient: vertical;
  word-wrap: break-word;
  word-break: break-all;
}

@mixin single-esp($color: #999){
  overflow: hidden;
  text-overflow: ellipsis;
  color: $color;
}

@mixin model-bg($zIndex: 99, $bgColor: rgba(0, 0, 0, 0.3)) {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  z-index: $zIndex;
  background-color: $bgColor;
}

@mixin model-content($height: 700px, $zIndex: 100) {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: $height;
  background-color: #fff;
  border-top-left-radius: 60px;
  border-top-right-radius: 60px;
  z-index: $zIndex;
}